/**
 * 
 */
package com.xpalive.web.servlet;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import com.xpalive.finals.Finals;

/**
 * @author xiongping
 * @IDE eclipse 4.3
 * @time 2015年5月8日 下午2:33:12
 */
public class InitialServlet extends HttpServlet {

  @Override
  public void init() throws ServletException {
    ServletContext application = getServletContext();
    application.setAttribute(Finals.BASE, application.getContextPath());
    super.init();
  }

}
